﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="branch.aspx.cs" Inherits="EM.definition.finance.Bank.branch" %>

<%@ Register Src="~/Common/PageName.ascx" TagName="PageName" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <meta content="text/html; charset=windows-2254" http-equiv="Content-Type" />
    <meta content="tr" http-equiv="Content-Language" />
    <link id="Link3" runat="server" href="~/css/master.css" rel="stylesheet" type="text/css" />
    <link runat="server" id="linkcssbuttons" rel="stylesheet" href="~/css/buttons.css"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td class="TdMainContent" valign="top">
                <table width="600" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td colspan="2">
                            <uc1:PageName ID="ucPageName" PAGEID="29" PAGEWIDTH="800" runat="server"></uc1:PageName>
                        </td>
                    </tr>
                    <tr>
                        <td id="TdMainRight" class="TdMainRight" valign="top" style="width: 800px;">
                            <div id="ContentRight">
                                <table class="Repeater_Table" border="0" cellpadding="0" cellspacing="0" width="800">
                                    <asp:Repeater runat="server" ID="rptBranch" OnItemDataBound="rptBranch_ItemDataBound"
                                        OnItemCommand="rptBranch_ItemCommand">
                                        <HeaderTemplate>
                                            <tr>
                                                <td class="Repeater_Table_Header">
                                                    Şube Adı
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    Address
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    Telefon
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    Fax
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    Şehir
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    İlçe
                                                </td>
                                                <td class="Repeater_Table_Header">
                                                    İşlemler
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtBranchName" CssClass="EditinputRq" Width="200px" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvBranchName" ValidationGroup="vgInsert"
                                                        ControlToValidate="txtBranchName" runat="server" Display="None" ErrorMessage="Lütfen bankayı seçiniz."></asp:RequiredFieldValidator>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtAddress" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtTel" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtFax" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtCity" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtState" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item" nowrap="nowrap" align="center">
                                                    <asp:LinkButton ID="btnUpdate" runat="server" ValidationGroup="vgInsert" CommandName="Insert">Ekle</asp:LinkButton>
                                                    <asp:ValidationSummary ID="vgInsert" ShowMessageBox="true" ShowSummary="false" runat="server" />
                                                </td>
                                            </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtBranchName" CssClass="EditinputRq" Width="200px" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvBranchName" ValidationGroup="vgUpdate"
                                                        ControlToValidate="txtBranchName" runat="server" Display="None" ErrorMessage="Lütfen bankayı seçiniz."></asp:RequiredFieldValidator>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtAddress" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtTel" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtFax" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtCity" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item">
                                                    <asp:TextBox ID="txtState" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item" nowrap="nowrap" align="center">
                                                    <asp:LinkButton ID="btnUpdate" runat="server" CommandName="Update" CommandArgument='<%#Eval("BANKBRANCHID")%>'>Güncelle</asp:LinkButton>
                                                    |
                                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete" CommandArgument='<%#Eval("BANKBRANCHID")%>'>Sil</asp:LinkButton>
                                                    <asp:ValidationSummary ID="vsUpdate" ShowMessageBox="true" ShowSummary="false" runat="server" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtBranchName" CssClass="EditinputRq" Width="200px" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="rfvBranchName" ValidationGroup="vgUpdate"
                                                        ControlToValidate="txtBranchName" runat="server" Display="None" ErrorMessage="Lütfen bankayı seçiniz."></asp:RequiredFieldValidator>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtAddress" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtTel" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtFax" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtCity" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating">
                                                    <asp:TextBox ID="txtState" CssClass="Editinput" Width="100px" runat="server"></asp:TextBox>
                                                </td>
                                                <td class="Repeater_Table_Item_Alternating" nowrap="nowrap" align="center">
                                                    <asp:LinkButton ID="btnUpdate" runat="server" CommandName="Update" CommandArgument='<%#Eval("BANKBRANCHID")%>'>Güncelle</asp:LinkButton>
                                                    |
                                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete" CommandArgument='<%#Eval("BANKBRANCHID")%>'>Sil</asp:LinkButton>
                                                    <asp:ValidationSummary ID="vsUpdate" ShowMessageBox="true" ShowSummary="false" runat="server" />
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
